home *** CD-ROM | disk | FTP | other *** search
- |integer|
- windowtitle `<Integer> = Integer(expression)`
- printlf `Converts the expression to an Integer
- printlf `if possible.
- end
-
- |absolute|
- windowtitle `<integer> = Absolute(<value>)
- printlf `Returns the absolute value of <value>.
- end
-
- |limit|
- windowtitle `<integer> = Limit(<limit1>,<limit2>,<testvalue>)
- printlf `Returns the <testvalue> if it is between
- printlf `<limit1> and <limit2>. If <testvalue> is
- printlf `greater than both <limit1> and <limit2> it
- printlf `will return the larger of the limits. If
- printlf `<testvalue> is smaller than both limits,
- printlf `it will return the smaller of the limits.
- end
-
- |max|
- windowtitle `<integer> = Max( <val> {,<val> , ...})
- printlf `Returns the value of the highest parameter.
- printlf
- print `SEE ALSO: `
- subject `Min`Min`
- end
-
- |min|
- windowtitle `<integer> = Min( <val> {,<val> , ...})
- printlf `Returns the value of the lowest parameter.
- print `SEE ALSO: `
- subject `Max`Max`
- end
-
- |random|
- windowtitle `<integer> = Random( <Minimum> , <Maximum> )
- printlf `Returns a random integer between and
- printlf `including the <Minimum> and <Maximum>
- printlf `values.
- end
-
- |sign|
- windowtitle `<integer> = Sign( <value> )
- printlf `Returns the sign of the value.
- printlf
- printlf ` 1 if positive.
- printlf ` 0 if Zero.
- printlf `-1 if negative.
- end
-
- |ascii|
- windowtitle `<integer> = ASCII("string")
- printlf `Returns the ASCII value of the first
- printlf `character in the string.
- printlf
- print `SEE ALSO: `
- subject `Char`Char`
- end
-
- |char|
- windowtitle `"string" = Char( <integer> )
- printlf `Returns a single character corresponding
- printlf `to an ASCII integer.
- printlf
- print `SEE ALSO: `
- subject `ASCII`ASCII`
- end
-
- |numofchars|
- windowtitle `<integer> = NumberOfChars("string")
- printlf `Returns the number of characters in the
- printlf `given string.
- end
-
- |lowcase|
- windowtitle `"string" = LowerCase("STRING")
- printlf `Returns a string with all the characters
- printlf `converted to lowercase.
- printlf
- print `SEE ALSO: `
- subject `UpperCase`UpperCase`
- end
-
- |upcase|
- windowtitle `"STRING" = UpperCase("string");
- printlf `Returns a string with all the characters
- printlf `converted to uppercase.
- printlf
- print `SEE ALSO: `
- subject `LowerCase`LowerCase`
- end
-
- |dupestring|
- windowtitle `"string" = DupeString("string",<count>)
- printlf `Duplicates the given string <count> times
- printlf `and returns it as a single string.
- end
-
- |trimstring|
- windowtitle `"string" = TrimString(" string ")
- printlf `Returns a string with leading and trailing
- printlf `space and TAB characters removed. Also,
- printlf `multiple space and TAB characters within
- printlf `the string are replaced with a single space.
- end
-
- |inschars|
- windowtitle `"string" = InsertChars("Source","destination",<offset>)
- printlf `Inserts a source string into the destination
- printlf `string at the specified offset.
- printlf
- print `SEE ALSO: `
- subject `RemoveChars`RemoveChars`
- end
-
- |remchars|
- windowtitle `"string" = RemoveChars("Source",<starting offset>,<length>)
- printlf `Removes characters from source string
- printlf `beginning at <starting offset> and for
- printlf `<length> amount of characters.
- printlf
- print `SEE ALSO: `
- subject `InsertChars`InsertChars`
- end
-
- |findchars|
- windowtitle `<integer> = FindChars("Source","Search",<starting offset>)
- printlf `Returns the offset of the "search" string
- printlf `if found in the "source" string, or else
- printlf `it returns 0. The search will begin at
- printlf `the <starting offset>.
- printlf
- print `SEE ALSO: `
- subject `FindWord`FindWord`
- end
-
- |getchars|
- windowtitle `"string" = GetChars("Source",<starting offset>,<length>)
- printlf `Returns a string of <length> characters
- printlf `taken from the "Source" string beginning at
- printlf `the <starting offset>.
- printlf
- print `SEE ALSO: `
- subject `GetWord`GetWord`
- end
-
- |findword|
- windowtitle `<int> = FindWord("Source","Word"{,<StartWordNum>{,"WordDelimiters"}})
- printlf `Searches "Source" string for a matching
- printlf `"Word" and returns its word number. If not
- printlf `found it will return 0. See Page 6-15 of
- printlf `the user's manual for more details.
- printlf
- print `SEE ALSO: `
- subject `FindChars`FindChars`
- end
-
- |getword|
- windowtitle `"string" = GetWord("Source",<WordNum> {,"WordDelimiters"})
- printlf `Returns the <WordNum> word in the "Source"
- printlf `string. See page 6-15 in the User's
- printlf `manual about Word Delimiters.
- printlf
- print `SEE ALSO: `
- subject `GetChars`GetChars`
- end
-
- |positionofword|
- windowtitle `<integer> = PositionOfWord("Source",<WordNum>,{"WordDelimiters"})
- printlf `Returns the character position of the
- printlf `<wordnum> word in the "Source" string.
- printlf `See page 6-16 in the user's manual for
- printlf `more details.
- end
-
- |bumprevision|
- windowtitle `"string" = BumpRevision("Name")
- printlf `Changes the revision of "Name" in the
- printlf `same manner as the Workbench Duplicate
- printlf `function does with a filename. See
- printlf `page 6-16 in the user's manual for
- printlf `examples.
- end
-
- |evalexpr|
- windowtitle `result = EvaluateExpression("String")
- printlf `If the string contains a valid expression,
- printlf `this function returns its result. If
- printlf `the expression is not valid it will cause
- print `a run time error. Use `
- subject `VerifyExpression`VerifyExpression`
- printlf
- print `first to avoid such problems.
- end
-
- |verexpr|
- windowtitle `«logical» = VerifyExpression("String")
- printlf `Returns TRUE if the string contains a
- printlf `valid expression, otherwise it returns
- printlf `FALSE. This command should be used`
- print `before using `
- subject `EvaluateExpression`EvaluateExpression`
- printlf ` to avoid`
- printlf `run time errors.`
- end
-
-
-